package edu.scau.tool.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取application.yml配置信息
 */
@Data
@Component
@ConfigurationProperties(prefix = "oss")
public class OssProperties {
    private Minio minio;
    @Data
    public static class Minio{
        private String endpoint;
        private String accessKey;
        private String secretKey;
    }
}
